import numpy as np
a=np.array((5,6,7))
b=np.array((6,6,6))
a1=a.dot(b)
print('a1=',a1)
a2=np.dot(a,b)
print('a2=',a2)
a3=sum(a*b)
print('a3=',a3)
c=np.array(([1,2,3],[4,5,6],[7,8,9]))
a4=c.dot(a)
print('a4=',a4)
a5=c[0].dot(a)
print('a5=',a5)
a6=c[1].dot(a)
print('a6=',a6)
a7=c[2].dot(a)
print('a7=',a7)
a8=a.dot(c)
print('a8=',a8)
cT=c.T
a9=a.dot(cT[0])
print('a9=',a9)
a10=a.dot(cT[1])
print('a10=',a10)
a11=a.dot(cT[2])
print('a11=',a11)